package chixing.day18.thread;

public class ThreadTest {
    public static void main(String[] args) {
        //1.创建线程对象
        CharThread charThread = new CharThread();//线程初始化状态
        Thread numberThread = new Thread(new NumberThread(charThread));

        //2.启动线程
        charThread.start();//就绪状态
        numberThread.start();

    }
}
